﻿<%@ Page Language="C#" MasterPageFile="~/Share/AdminMasterPage.Master" AutoEventWireup="true"
    CodeBehind="ManageCommonSetting.aspx.cs" Inherits="AKMII.DMRA.Web.AdminPages.ManageCommonSetting"
    Title="Common Configuration" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="LinkContent" runat="server">
    <a id="breadcrumb_home" href="#">Home</a>&nbsp;&gt;&nbsp; <a id="A1" href="javascript:void(0);">
        Admin Home Page</a>&nbsp;&gt;&nbsp; <a id="A2" href="javascript:void(0);">Common Setting</a>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="DetailsContent" runat="server">
    <div id="admincontentContainnerDiv" class="admincontentContainnerDiv">
        <fieldset>
            <legend style="font-weight: bold;">DMRA Ftp Server Configuration: </legend>
            <br />
            <div style="padding-left: 75px;">
                <div>
                    Download Ftp:&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtDownloadFtp" CssClass="input"
                        runat="server"></asp:TextBox>
                    &nbsp;&nbsp;&nbsp;&nbsp;Upload Ftp:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox
                        ID="txtUploadFtp" CssClass="input" runat="server"></asp:TextBox></div>
                <br />
                Ftp User Name:&nbsp;&nbsp;<asp:TextBox ID="txtFtpUsername" CssClass="input" runat="server"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;&nbsp;Ftp Password:&nbsp;&nbsp;<asp:TextBox ID="txtFtpPassword"
                    CssClass="input" runat="server"></asp:TextBox>
            </div>
            <br />
        </fieldset>
        <fieldset>
            <legend style="font-weight: bold;">Email Server Configuration: </legend>
            <br />
            <div style="padding-left: 75px;">
                <div>
                    SMTP Server:&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtSmtpServer" CssClass="input"
                        runat="server"></asp:TextBox>
                    &nbsp;&nbsp;&nbsp;&nbsp;System Mail Address:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox
                        ID="txtSysMail" CssClass="input" runat="server"></asp:TextBox></div>
                <br />
                <div>
                    Mail Password:&nbsp;&nbsp;<asp:TextBox ID="txtMailPassword" CssClass="input" runat="server"></asp:TextBox>
                    Mail Address For Summary:&nbsp;&nbsp;<asp:TextBox ID="txtSummaryMail" CssClass="input"
                        runat="server"></asp:TextBox></div>
            </div>
            <br />
        </fieldset>
        <fieldset>
            <legend style="font-weight: bold;">Printing House FTP Configuration: </legend>
            <br />
            <div style="padding-left: 50px;">
                <div>
                    Printing House Ftp:&nbsp;&nbsp;<asp:TextBox ID="txtPHouserFtp" CssClass="input" runat="server"></asp:TextBox>&nbsp;&nbsp;
                    FTP User Name:&nbsp;&nbsp;<asp:TextBox ID="txtPHouseUsername" CssClass="input" runat="server"></asp:TextBox></div>
                <br />
                <div>
                    FTP Password:&nbsp;&nbsp;<asp:TextBox ID="txtPHousePassword" CssClass="input" runat="server"></asp:TextBox>
                    FTP File Name:&nbsp;&nbsp;<asp:TextBox ID="txtPHouseFileName" CssClass="input" runat="server"></asp:TextBox></div>
            </div>
            <br />
        </fieldset>
        <fieldset>
            <legend style="font-weight: bold;">Decrypt and Encrypt Configuration: </legend>
            <br />
            <div style="padding-left: 75px;">
                <div>
                    Private Key Password:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtPrivateKeyPassword"
                        CssClass="input" runat="server"></asp:TextBox>
                    &nbsp;&nbsp;&nbsp;&nbsp;DMRA Recipient:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox
                        ID="txtDMRARecipient" CssClass="input" runat="server"></asp:TextBox></div>
                <br />
                <div>
                    Printing House Recipient:&nbsp;&nbsp;<asp:TextBox ID="txtPHouseRecipient" CssClass="input"
                        runat="server"></asp:TextBox></div>
            </div>
            <br />
        </fieldset>
        <fieldset>
            <legend style="font-weight: bold;">Folder Path Configuration: </legend>
            <br />
            <div style="padding-left: 75px;">
                <div>
                    For Download:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtDownloadFolder"
                        CssClass="input" runat="server"></asp:TextBox></div>
                <br />
                <div>
                    For Decrypt:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtDecryptFolder" CssClass="input"
                        runat="server"></asp:TextBox></div>
                <br />
                <div>
                    For Decompress:&nbsp;&nbsp;<asp:TextBox ID="txtDecompressFolder" CssClass="input"
                        runat="server"></asp:TextBox></div>
                <br />
                <div>
                    For Generate Dmra File:
                    <asp:TextBox ID="txtGenerateDmraFileFolder" CssClass="input" runat="server"></asp:TextBox></div>
                <br />
                <div>
                    For Generate Printing House File:
                    <asp:TextBox ID="txtGeneratePHouseFolder" CssClass="input" runat="server"></asp:TextBox></div>
                <br />
                <div>
                    For Compress Dmra File:
                    <asp:TextBox ID="txtCompressDmraFileFolder" CssClass="input" runat="server"></asp:TextBox></div>
                <br />
                <div>
                    For Compress Printing House File:
                    <asp:TextBox ID="txtCompressPHouseFileFolder" CssClass="input" runat="server"></asp:TextBox></div>
                <br />
                <div>
                    For Encrypt Dmra File:
                    <asp:TextBox ID="txtEncryptDmraFileFolder" CssClass="input" runat="server"></asp:TextBox></div>
                <br />
                <div>
                    For Encrypt Printing House File:
                    <asp:TextBox ID="txtEncryptPHouseFileFolder" CssClass="input" runat="server"></asp:TextBox></div>
                <br />
                <div>
                    For Summary Report:
                    <asp:TextBox ID="txtForSummaryReport" CssClass="input" runat="server"></asp:TextBox></div>
            </div>
            <br />
        </fieldset>
        <fieldset>
            <legend style="font-weight: bold;">Other Configuration: </legend>
            <br />
            <div style="padding-left: 75px;">
                <div>
                    MD For Assign Blank Zip:&nbsp;&nbsp;<asp:TextBox ID="txtAssignBlankZip" CssClass="input"
                        runat="server"></asp:TextBox>
                    &nbsp;&nbsp;&nbsp;&nbsp;Current Year:&nbsp;&nbsp;<asp:TextBox MaxLength="4" ID="txtCurrentYear"
                        CssClass="input" runat="server"></asp:TextBox></div>
                <br />
                <div>
                    Lock Month:&nbsp;&nbsp;<asp:TextBox ID="txtLockMonth" CssClass="input" runat="server"></asp:TextBox>
                    &nbsp;&nbsp;&nbsp;&nbsp;</div>
                <br />
            </div>
        </fieldset>
        <fieldset>
            <legend style="font-weight: bold;">Calculation information: </legend>
            <br />
            <div style="padding-left: 75px;">
                <div>
                    Workable leads per agent:&nbsp;&nbsp;<asp:TextBox ID="txtLeadPerAgent" CssClass="input"
                        runat="server"></asp:TextBox>
                    <br />
                </div>
        </fieldset>
        <fieldset>
            <legend style="font-weight: bold;">Order rules: </legend>
            <br />
            <div style="padding-left: 75px;">
                <div>
                    Max Stops:&nbsp;&nbsp;<asp:TextBox ID="txtMaxStop" CssClass="input" runat="server"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;
                    Min Stops:&nbsp;&nbsp;<asp:TextBox MaxLength="4" ID="txtMinStop" CssClass="input"
                        runat="server"></asp:TextBox></div>
                <br />
            </div>
        </fieldset>
        <div style="padding-left: 275px;">
            <asp:Button OnClick="btnCommit_Click" ID="btnCommit" CssClass="filterbutton" runat="server"
                Text="Commit" /></div>
    </div>
</asp:Content>
